home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 22
/
Cream of the Crop 22.iso
/
program
/
ctlib100.zip
/
INSTALL.LZH
/
BSDTYPES.INT
< prev
next >
Wrap
Text File
|
1996-10-12
|
3KB
|
123 lines
{**************************************************************************}
{* BitSoft Development, L.L.C. *}
{* Copyright (C) 1995, 1996 BitSoft Development, L.L.C. *}
{* All rights reserved. *}
{* Global types and constants unit *}
{* Version 1.2.1 *}
{**************************************************************************}
unit BsdTypes;
interface
{$ifdef Windows}
uses WinDos;
{$else}
uses Dos;
{$endif Windows}
const
intDivideByZero = $00;
intSingleStep = $01;
intBreakPoint = $03;
intArithmeticOverflow = $04;
intPrintScreen = $05;
intSystemTimer = $08;
intKeyPressed = $09;
intCommunications1 = $0B;
intCommunications2 = $0C;
intVideo = $10;
intEquipment = $11;
intGetMemorySize = $12;
intAsynchronousComm = $14;
intSystemServices = $15;
intKeyboard = $16;
intPrinter = $17;
intExecuteROMBasic = $18;
intWarmBoot = $19;
intRealTimeClock = $1A;
intCtrlBreak = $1B;
intDos = $21;
intTSR = $27;
intNetwork = $2A;
intMultiplex = $2F;
intMouse = $33;
intEMS = $67;
const
MaxByte = 255;
MaxShortInt = 127;
MaxInteger = 32767;
MaxLongint = 2147483647;
MaxWord = 65535;
MaxPointer = 65520;
const
MinByte = 0;
MinShortInt = -128;
MinInteger = -32768;
MinLongint = -2147483647;
MinWord = 0;
const
pc2 = 2;
pc4 = 4;
pc5 = 5;
pc8 = 8;
pc11 = 11;
pc64 = 64;
type
String2 = string[2];
String4 = string[4];
String5 = string[5];
String8 = string[8];
String11 = string[11];
String64 = string[64];
type
PLongInt = ^LongInt;
type
IntRec = record
Hi : Byte;
Lo : Byte;
end;
type
PDate = ^TDate;
TDate = record
Day : Byte;
Month : Byte;
Year : Integer;
end;
type
PTime = ^TTime;
TTime = record
Hours : Integer;
Minutes : Byte;
Seconds : Byte;
Hundredths : Byte;
end;
type
TActionProcedure = procedure (Item : Pointer);
TActionProc = procedure (Item : Pointer; ACallerFrame : Word);
TTestFunction = function (Item : Pointer) : Boolean;
TTestFunc = function (Item : Pointer; ACallerFrame : Word) : Boolean;
{$ifdef Windows}
var
Regs : TRegisters;
{$else}
var
Regs : Registers;
{$endif Windows}
implementation
end.